<template>
	<view>
		<image :src="topBg" mode="aspectFill" class="header-image"></image>
		<view class="content">
			<view class="share_box">
				<image src="../../static/index/hua.png" mode="" class="hua_image"></image>
				<view class="share_title">分享到留学相关群 领取大礼包
					<span class="left_top"></span>
					<span class="left_left"></span>
					<span class="right_right"></span>
					<span class="right_bottom"></span>
				</view>
				<view class="step">
					<u-row justify="space-between">
						<u-col :span="12/prize.length" v-for="(item,index) in prize" :key="index">
							<view class="image_box">
								<image :src="item.icon" mode="aspectFit" @click="detail(item)"></image>
								<view class="text-ellipsis1">{{item.title}}</view>
							</view>
						</u-col>
					</u-row>
					<view class="line" style="position: relative;">
						<block v-for="(item,index) in prize" :key="index">
							<view
								style="position: absolute;top: 0;left: 0;background-color: #ff8d5b;bottom: 0;z-index: 1;border-radius: 100px;"
								v-if="total_help >= item.target" :style="{width:changeWidth(item,index) + '%'}"></view>
						</block>
						<view style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;z-index: 2;">
							<u-row justify="space-between">
								<u-col :span="12/prize.length" v-for="(item,index) in prize" :key="index"
									style="justify-content: center !important;">
									<view style="display: flex;justify-content: center;">
										<view class="step_num" :class="{active_step : total_help >= item.target}">
										</view>
									</view>
								</u-col>
							</u-row>
						</view>

					</view>
					<u-row justify="space-between">
						<u-col :span="12/prize.length" v-for="(item,index) in prize" :key="index">
							<view class="step_p_num">{{item.target}}人助力</view>
						</u-col>
					</u-row>
				</view>
				<view class="share_button_box">
					<view class="share_button">点击分享到留学群，立即领取大礼包</view>
					<button open-type="share"></button>
					<view class="share_tips">
						免费领取
					</view>
				</view>
				<view class="share_button_box">
					<view class="share_button" @click="toPoster">分享海报，邀请好友助力</view>
					<!-- <button open-type="share" id="2"></button> -->
				</view>
				<view style="padding: 40rpx 40rpx 0 40rpx;">
					<u-avatar-group :urls="header_img" size="35" gap="0.4"></u-avatar-group>
				</view>
			</view>
			<view class="prize">
				<view class="title_image_box">
					<image src="../../static/index/xiangqing.png" mode="" class="title_image"></image>
				</view>
				<view class="prize_box">
					<view class="prize_item" v-for="(item,index) in prize" :key="index">
						<view class="prize_image_box" @click="detail(item)">
							<image :src="item.thumb" mode="aspectFill" class="prize_image_image"></image>
							<view class="lock_box" v-if=" item.target > total_help">
								<image src="../../static/index/lock-icon.png" mode=""></image>
								<view>还差{{item.target - total_help}}个同学助力成功</view>
							</view>
						</view>
						<view class="prize_title text-ellipsis2">{{item.title}}</view>
						<view style="position: relative;">
							<button open-type="contact" class="zixun_button" v-if=" total_help >= item.target"></button>
							<button open-type="share" class="zixun_button" v-else></button>
							<view class="prize_button" :class="{active_button : item.target > total_help}"
								@click="contact"> {{ item.target > total_help ? '邀请助力' : '立即咨询'}}</view>
						</view>
					</view>
				</view>
			</view>
			<view class="illustrate">
				<view class="title_image_box">
					<image src="../../static/index/shuoming.png" mode="aspectFill" class="title_image"></image>
				</view>
				<view class="illustrate_box">
					<view class="illustrate_title">活动说明：</view>
					<view class="illustrate_title_tips">注意:参加活动前请先阅读以下规则，以及点开奖品具体规则查看细则!</view>
					<view style="padding-top: 24rpx;">
						<u-parse :content="content"></u-parse>
					</view>
				</view>
			</view>
			<view class="recommend">
				<view class="title_image_box">
					<image src="../../static/index/tuijian.png" mode="" class="title_image"></image>
				</view>
				<view class="recommend_box">
					<scroll-view scroll-x="true">
						<view style="display: flex;">
							<view class="item_box" v-for="(item,index) in apartment" :key="index"
								@click="jump({url:`/pages/apartmentDetail/apartmentDetail?id=${item.id}`})">
								<image :src="item.thumb" mode=""></image>
								<view class="label_box">
									<view v-for="(i,idx) in item.labels" :key="idx" :style="{background: i.color}">
										{{i.title}}
									</view>
								</view>
								<view class="detail">
									<view class="left text-ellipsis1">{{item.title}}</view>
									<view class="right">{{item.price}}/周</view>
								</view>
							</view>
						</view>
					</scroll-view>
					<view class="guwen_button">
						<view>专业顾问帮我抢房</view>
						<button open-type="contact"></button>
					</view>
				</view>
			</view>
		</view>

		<!-- 弹出层 -->
		<u-popup :show="show" mode="center" :safeAreaInsetBottom="false" :closeOnClickOverlay="true"
			bgColor="transparent" @close="show= false">
			<view class="pop">
				<view class="pop_header_image">
					<image src="../../static/index/jiangpingshuoming.png" mode="" class="image1"></image>
					<image src="../../static/index/guang.png" mode="" class="image2"></image>
				</view>
				<view class="pop_content">
					<view class="pop_title">{{popTitle}}</view>
					<view class="pop_tips_item" v-for="(item,index) in intro" :key="index">{{item}}</view>
					<view class="pop_button">
						<view>立即分享</view>
						<button open-type="share"></button>
					</view>
				</view>
			</view>
		</u-popup>
		<view  @touchmove.stop.prevent="moveHandle">
			<u-popup :show="posterShow" mode="center" :safeAreaInsetBottom="false" bgColor="transparent"
				@close="posterClose">
				<view class="poster_box">
					<canvas v-if="canvasShow" :style="{ width: canvasW + 'px', height: canvasH + 'px' }"
						canvas-id="myCanvas" id="myCanvas01">
					</canvas>
					<view class="poster_button">
						<view @click="saveButton">
							保存图片
						</view>
					</view>
				</view>
				<!-- <view @click="topShow = false">
					<image src="../../static/index/yindao.png" mode="widthFix" style="margin-top: -200rpx;width: 750rpx;">
					</image>
				</view> -->
			</u-popup>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				posterShow: false,
				canvasShow: false,
				show: false,
				topBg: '', //顶部背景图
				content: '', //说明,
				prize: [], //奖品列表
				total_help: 0, //总助力人数
				intro: [], //奖品说明
				popTitle: '',
				apartment: [], //推荐公寓列表
				help_share_thumb: '',
				help_share_title: '',
				header_img: [],

				canvasW: 250, // 画布宽
				canvasH: 500, // 画布高
				SystemInfo: {},
				isShow: false,
				filePath: '',
				goodsImgUrl: '',
				ewmImgUrl: '',
				ctx: {},
				posterText: ''
			}
		},
		// // 分享到朋友圈
		// onShareTimeline() {
		// 	return {
		// 		title: this.help_share_title,
		// 		imageUrl: this.help_share_thumb,
		// 		path: `/pages/index/assistance`,
		// 		query: `uid=${uni.getStorageSync('userInfo').user_id}`
		// 	}
		// },
		onShareAppMessage(res) {
			console.log(res)
			return {
				title: this.help_share_title,
				imageUrl: this.help_share_thumb,
				path: `/pages/index/assistance?uid=${uni.getStorageSync('userInfo').user_id}`
			}

		},
		mounted() {
			this.ctx = uni.createCanvasContext('myCanvas', this);
		},
		onLoad() {
			this.getData()
			console.log(999999, uni.getStorageSync('userInfo').token)
			wx.showShareMenu({
				withShareTicket: true,
				menus: ["shareAppMessage"]
			})

		},
		methods: {
			//禁止父元素滑动 1.0.3升级
			moveHandle() {},
			canvasTextAutoLine(str, initX, initY, lineHeight) {
				// var c = document.getElementById("myCanvas"); 
				// var ctx = c.getContext("2d");
				var lineWidth = 0;
				var canvasWidth = this.canvasW;
				var lastSubStrIndex = 0;
				for (let i = 0; i < str.length; i++) {
					lineWidth += 10;
					console.log('15456456456', lineWidth)
					if (lineWidth > canvasWidth - 70) { //减去initX,防止边界出现的问题
						this.ctx.setFillStyle('#000');
						this.ctx.setFontSize(14);
						this.ctx.textAlign = 'center';
						this.ctx.fillText(str.substring(lastSubStrIndex, i), initX, initY);
						initY += lineHeight;
						lineWidth = 0;
						lastSubStrIndex = i;
					}
					if (i == str.length - 1) {
						this.ctx.setFillStyle('#000');
						this.ctx.setFontSize(14);
						this.ctx.textAlign = 'center';
						this.ctx.fillText(str.substring(lastSubStrIndex, i + 1), initX, initY);
					}
				}
			},

			//保存海报
			saveButton() {
				console.log(this.filePath)
				let that = this;
				wx.saveImageToPhotosAlbum({
					filePath: that.filePath,
					success(res) {
						uni.showToast({
							icon: 'success',
							mask: true,
							title: '保存到相册了',
						});
					},
					fail(res) {
						console.log('保存到手机失败', res.errMsg)
						uni.hideLoading();
						uni.showToast({
							icon: 'error',
							mask: true,
							title: '保存失败',
						});
					}
				})
				// return
				// console.log('保存地址',this.filePath)
				// let path = this.filePath //从缓存中读取临时文件路径
				// console.log(path)

			},

			posterClose() {
				this.canvasShow = false
				this.posterShow = false
			},

			//打开海报
			toPoster() {
				this.posterShow = true
				this.canvasShow = true
				uni.showLoading({
					title: '绘制中...',
					mask: true
				});
				setTimeout(() => {
					// 1.填充背景色，白色
					this.ctx.setFillStyle('#fff'); // 默认白色
					this.ctx.fillRect(0, 0, this.canvasW, this.canvasH) // fillRect(x,y,宽度，高度)

					// 背景图
					this.ctx.drawImage(this.goodsImgUrl, 0, 0, this.canvasW, this
						.canvasH - 170) // drawImage(图片路径,x,y,绘制图像的宽度，绘制图像的高度)
					//二维码
					this.ctx.drawImage(this.ewmImgUrl, this.canvasW / 2 - 50, this.canvasH - 160, 100,
						100) // drawImage(图片路径,x,y,绘制图像的宽度，绘制图像的高度,二维码的宽,高)

					//添加白色边框
					this.ctx.setStrokeStyle('#fff')
					this.ctx.stroke();

					this.canvasTextAutoLine(this.posterText, this.canvasW / 2, this.canvasH - 40, 15)

					// 用户信息
					// this.ctx.setFontSize(14)
					// this.ctx.setFillStyle('#000')
					// // ctx.textAlign('center')
					// this.ctx.textAlign = 'center'
					// this.ctx.fillText(this.posterText, this.canvasW / 2, this.canvasH - 40);


					// draw方法 把以上内容画到 canvas 中
					this.ctx.draw(true, (ret) => {
						uni.canvasToTempFilePath({ // 保存canvas为图片
							canvasId: 'myCanvas',
							quality: 1,
							complete: async (res) => {
								console.log('生成海报', res)
								// 在H5平台下，tempFilePath 为 base64, // 图片提示跨域 H5保存base64失败，APP端正常输出临时路径
								console.log('生成海报地址', res.tempFilePath)
								this.filePath = res.tempFilePath
								// this.filePath = await this.getImageInfo(res.tempFilePath)

							},
						})
					});
					uni.hideLoading();
				}, 1500)


				// uni.navigateTo({
				// 	url: '/pages/index/sharePoster'
				// })
			},
			changeWidth(item, index, ) {
				console.log(item.target, index, this.prize.length)
				let length = 100 / this.prize.length
				console.log('每段长度', length)
				if (index == 0) {
					return length / 2
				} else if (index + 1 == this.prize.length) {
					return 100
				} else {
					return length / 2 + length * index
				}
			},
			contact() {
				uni.showToast({
					title: '继续邀请更多人助力吧~',
					duration: 1000,
					icon: 'none'
				});
			},
			getData() {

				uni.request({
					url: 'https://app.ukmioliving.com/api/help/get_init',
					method: 'GET',
					header: {
						'Content-Type': 'application/json;charset=UTF-8',
						token: uni.getStorageSync('userInfo').token
					},
					success: async (res) => {
						console.log(8888, res.data.data);
						this.prize = res.data.data.prize
						this.topBg = res.data.data.help_top_thumb
						this.apartment = res.data.data.apartment
						this.total_help = res.data.data.total_help
						this.help_share_thumb = res.data.data.help_share_thumb
						this.help_share_title = res.data.data.help_share_title
						this.header_img = res.data.data.help_user
						this.posterText = res.data.data.help_poster_text
						this.content = res.data.data.help_intro.replace(/\\/g, "").replace(/style/g,
							"style=\"white-space: wrap;font-size: 14px;color: #999999;\"")

						this.goodsImgUrl = await this.getImageInfo(res.data.data.help_poster_image)
						this.ewmImgUrl = await this.getImageInfo(res.data.data.qrcode)

					}
				});
				// this.$H.get(this.$api.get_init, {}, {
				// 	token: true
				// }).then(res => {
				// 	console.log('请求数据', res)
				// 	this.prize = res.data.prize
				// 	this.topBg = res.data.help_top_thumb
				// 	this.apartment = res.data.apartment
				// 	this.total_help = res.data.total_help
				// 	this.content = res.data.help_intro.replace(/\\/g, "").replace(/style/g,
				// 		"style=\"white-space: wrap;font-size: 14px;color: #999999;\"")
				// })
			},
			getImageInfo(image) {
				return new Promise((req, rej) => {
					uni.getImageInfo({
						src: image,
						success: function(res) {
							console.log('加载到本地', res)
							req(res.path)
						},
					});
				})
			},
			// 格式化html
			formatHtml(content) {
				return (content);
			},
			//奖品详情
			detail(item) {
				this.intro = item.intro
				this.popTitle = item.title
				this.show = true
			}
		}
	}
</script>

<style lang="scss">
	page {
		background: #EBF1FD;
	}


	.header-image {
		width: 100%;
		height: 636rpx;
	}

	.content {
		position: absolute;
		top: 514rpx;
		left: 24rpx;
		right: 24rpx;
		padding-bottom: 80rpx;
	}

	.share_box {
		position: relative;
		// height: 652rpx;
		// background-image: url(../../static/index/share-content-bg.png);
		// background-size: 100% 100%;
		background: #FFFFFF;
		border-radius: 20px 20px 20px 20px;
		border: 2px solid #B4CDF9;
		padding-bottom: 40rpx;

		.hua_image {
			position: absolute;
			width: 68rpx;
			height: 82rpx;
			top: 18rpx;
			left: 52rpx;
		}

		.share_title {
			position: relative;
			display: inline-block;
			margin-top: 40rpx;
			margin-left: 120rpx;
			padding: 0rpx 16rpx;
			font-size: 32rpx;
			font-weight: bold;
			color: #333542;
		}

		.left_top {
			position: absolute;
			top: 0;
			left: 0;
			width: 15rpx;
			height: 4rpx;
			background-color: #333542;
		}

		.left_left {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 4rpx;
			height: 20rpx;
			background-color: #333542;
		}

		.right_right {
			position: absolute;
			bottom: 0;
			right: 0;
			width: 15rpx;
			height: 4rpx;
			background-color: #333542;
		}

		.right_bottom {
			position: absolute;
			bottom: 0;
			right: 0;
			width: 4rpx;
			height: 20rpx;
			background-color: #333542;
		}

	}

	.step {
		padding: 30rpx 24rpx 30rpx 24rpx;

		.image_box {
			text-align: center;

			image {
				width: 100%;
				height: 110rpx;
			}

			view {
				font-size: 10px;
				font-weight: normal;
				color: #FFAD41;
			}
		}

		.line {
			margin: 24rpx 0;
			background: #DADADA;
			border-radius: 50px;
			height: 18rpx;

			.step_num {
				display: flex;
				justify-content: center;
				width: 10rpx;
				height: 10rpx;
				border-radius: 50%;
				border: 4rpx solid #FFFFFF;
			}

			.active_step {
				background: #FF8D5B;
				border: 4rpx solid #FCDDD0;
			}
		}

		.step_p_num {
			text-align: center;
			font-size: 18rpx;
			font-weight: normal;
			color: #999999;
		}

	}

	.share_button_box {
		position: relative;
		margin: 40rpx 72rpx 0 72rpx;

		.share_button {
			text-align: center;
			padding: 20rpx 0;
			border-radius: 50px;
			font-size: 28rpx;
			font-weight: 500;
			color: #FFFFFF;
			background: linear-gradient(180deg, #FD575C 0%, #F13E42 100%);
			box-shadow: 0px 2px 4px 1px rgba(251, 27, 27, 0.5);
		}

		button {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			background-color: transparent;
		}

		button::after {
			border: none;
		}

		.share_tips {
			position: absolute;
			top: -34rpx;
			right: 8rpx;
			width: 120rpx;
			height: 46rpx;
			background-image: url(../../static/index/qipao.png);
			background-size: 100% 100%;
			text-align: center;
			padding-top: 4rpx;
			font-size: 24rpx;
			font-weight: 500;
			color: #996E00;
		}
	}

	.title_image_box {
		text-align: center;
		padding: 40rpx 0 32rpx 0;

		.title_image {
			width: 162rpx;
			height: 42rpx;
		}
	}

	.prize {
		.prize_box {
			padding: 40rpx 32rpx;
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			background: #FFFFFF;
			border-radius: 20px 20px 20px 20px;
			opacity: 1;
			border: 2px solid #B4CDF9;

			.prize_item {
				margin-bottom: 24rpx;
				display: flex;
				flex-direction: column;
				align-items: center;
				width: 48%;
				background: #F5F5F5;
				border-radius: 8px 8px 8px 8px;

				.prize_image_box {
					position: relative;
					width: 100%;

					.prize_image_image {
						width: 100%;
						height: 276rpx;
						border-radius: 8px 8px 0 0;
						display: block;
					}

					.lock_box {
						position: absolute;
						top: 0;
						right: 0;
						left: 0;
						bottom: 0;
						display: flex;
						flex-direction: column;
						align-items: center;
						justify-content: center;
						border-radius: 8px 8px 0 0;
						background-color: rgba(0, 0, 0, 0.5);

						image {
							width: 38rpx;
							height: 50rpx;
						}

						view {
							padding-top: 10rpx;
							font-size: 20rpx;
							font-weight: normal;
							color: #FFFFFF;
						}
					}
				}

				.prize_title {
					margin-top: 10rpx;
					text-align: center;
					width: 80%;
					font-size: 28rpx;
					font-weight: normal;
					color: #333333;
				}

				.prize_button {
					margin: 24rpx 0 16rpx 0;
					padding: 8rpx 20rpx;
					font-size: 24rpx;
					font-weight: 400;
					color: #FFFFFF;
					background: linear-gradient(180deg, #FD575C 0%, #F13E42 100%);
					box-shadow: 0px 2px 4px 1px rgba(251, 76, 27, 0.5);
					border-radius: 30px;
				}

				.active_button {
					background: #CECECE;
					opacity: 1;
					// border: 1px solid #999999;
					box-shadow: none;
				}

				.zixun_button {
					position: absolute;
					top: 24rpx;
					left: 0;
					right: 0;
					bottom: 16rpx;
					opacity: 0;
				}
			}
		}
	}

	.illustrate_box {
		padding: 40rpx 32rpx;
		background: #FFFFFF;
		border-radius: 20px 20px 20px 20px;
		border: 2px solid #B4CDF9;

		.illustrate_title {
			font-size: 28rpx;
			font-weight: 500;
			color: #333333;
		}

		.illustrate_title_tips {
			padding-top: 28rpx;
			font-size: 28rpx;
			ont-weight: 500;
			color: #333333;
		}
	}

	.recommend {

		.recommend_box {
			padding: 48rpx 32rpx;
			background: #FFFFFF;
			border-radius: 20px 20px 20px 20px;
			border: 2px solid #B4CDF9;

			.item_box {
				margin-right: 16rpx;
				width: 594rpx;
				background: #F7F7F7;
				border-radius: 12px 12px 12px 12px;

				image {
					width: 594rpx;
					height: 386rpx;
					border-radius: 12px 12px 0 0;
				}

				.label_box {
					padding: 24rpx 24rpx 12rpx 24rpx;
					display: flex;
					align-items: center;
					flex-wrap: wrap;

					view {
						margin-right: 16rpx;
						margin-bottom: 12rpx;
						padding: 8rpx 20rpx;
						line-height: 20rpx;
						font-size: 20rpx;
						font-weight: 400;
						// color: #F23F43;
						color: #fff;
						background: rgba(253, 145, 127, 0.3);
						border-radius: 30px;
						// border: 1px solid #F14046;
					}
				}

				.detail {
					padding: 0 24rpx 32rpx 24rpx;
					display: flex;
					align-content: center;
					// justify-content: space-between;

					.left {
						flex: 1;
						font-size: 28rpx;
						font-weight: 400;
						color: #333333;
					}

					.right {
						margin-left: 40rpx;
						font-size: 32rpx;
						font-weight: bold;
						color: #333333;
					}
				}
			}

			.guwen_button {
				position: relative;
				margin-top: 48rpx;
				display: flex;
				justify-content: center;

				view {
					padding: 10rpx 60rpx;
					font-size: 32rpx;
					font-weight: 500;
					color: #FFFFFF;
					background: linear-gradient(180deg, #FD575C 0%, #F13E42 100%);
					box-shadow: 0px 2px 4px 1px rgba(251, 76, 27, 0.5);
					border-radius: 30px;
				}

				button {
					position: absolute;
					left: 120rpx;
					right: 120rpx;
					top: 0;
					bottom: 0;
					opacity: 0;
				}
			}
		}
	}

	.poster_box {
		background-color: #fff;
		width: 250px;
		height: 520px;
		padding: 40rpx;
		border-radius: 20rpx;

		.poster_button {
			position: absolute;
			bottom: -40rpx;
			left: 50%;
			display: flex;
			justify-content: center;

			view {
				width: 200rpx;
				text-align: center;
				margin-left: -100rpx;
				padding: 26rpx 0;
				font-size: 32rpx;
				font-weight: 500;
				color: #FFFFFF;
				background: linear-gradient(180deg, #FD575C 0%, #F13E42 100%);
				box-shadow: 0px 2px 4px 1px rgba(251, 27, 27, 0.5);
				border-radius: 50px;
			}
		}
	}

	.pop {
		// position: relative;
		// margin-right: -56rpx;
		width: 620rpx;

		.pop_header_image {
			position: relative;
			height: 184rpx;

			.image1 {
				position: absolute;
				left: -13rpx;
				bottom: -20rpx;
				width: 645rpx;
				height: 184rpx;
			}

			.image2 {
				position: absolute;
				right: -56rpx;
				top: -234rpx;
				width: 480rpx;
				height: 594rpx;
			}
		}

		.pop_content {
			padding: 48rpx 48rpx 40rpx 48rpx;
			border-radius: 0 0 40rpx 40rpx;
			background-color: #FFFFFF;

			.pop_title {
				padding-bottom: 20rpx;
				font-size: 36rpx;
				font-weight: 500;
				color: #333333;
			}

			.pop_tips_item {
				padding-bottom: 10rpx;
				font-size: 24rpx;
				font-weight: 400;
				color: #333333;
			}
		}

		// .pop_content {
		// 	position: absolute;
		// 	top: 298rpx;
		// 	left: 40rpx;
		// 	right: 92rpx;

		// 	.pop_content_title {
		// 		font-size: 56rpx;
		// 		line-height: 56rpx;
		// 		font-weight: 500;
		// 		color: #FFFFFF;
		// 	}

		// 	.pop_goods_name {
		// 		padding-top: 112rpx;
		// 		font-size: 36rpx;
		// 		line-height: 36rpx;
		// 		font-weight: 500;
		// 		color: #333333;
		// 	}
		// }

		.pop_button {
			position: relative;
			margin-top: 40rpx;

			view {
				text-align: center;
				padding: 24rpx;
				background: linear-gradient(90deg, #FF9E40 0%, #FE6522 100%);
				box-shadow: 0px 2px 4px 1px rgba(254, 101, 34, 0.4);
				border-radius: 30px;
				line-height: 32rpx;
				font-size: 32rpx;
				font-weight: 500;
				color: #FFFFFF;
			}

			button {
				position: absolute;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				background-color: transparent;
			}

			button::after {
				border: none;
			}
		}
	}
</style>